{extend name="web/public/base" /}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">{$title}</li>
    </ul>
    {include file="web/public/search" /}
    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">消费包统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>包名</th>
                            <th>总人数</th>
                            <th>总入包数</th>
                            <th>总已出包数</th>
                            <th>总未出包数</th>
                        </tr>
                        </thead>
                        <tbody>
                        {foreach name='packages' item='vo'}
                        <tr>
                            <td>{$vo.name}</td>
                            <td>{$vo.num1}</td>
                            <td>{$vo.num2}</td>
                            <td>{$vo.num3}</td>
                            <td>{$vo.num4}</td>
                        </tr>
                        {/foreach}
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">现有资产统计（累计，无时间约束）</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>{$Think.const.HASACTIVE}</th>
                            <th>{$Think.const.HASTDB}</th>
                            <th>{$Think.const.HASWEALTH}</th>
                            <th>{$Think.const.HASCP}</th>
                            <th>{$Think.const.HASCONTRIBUTION}</th>
                            <th>{$Think.const.HASGREEN}</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$total1}</td>
                            <td>{$total2}</td>
                            <td>{$total3}</td>
                            <td>{$total4}</td>
                            <td>{$total5}</td>
                            <td>{$total6}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">市商交易统计（以交易完成时间为准）</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>市商回收数量</th>
                            <th>市商出售数量</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$order_total0}</td>
                            <td>{$order_total1}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">商城消费积分统计（以支付时间为准）</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>绿色积分专区</th>
                            <th>消费券专区</th>
                            <th>代理专区</th>
                            <th>普通区</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$shop_total1}</td>
                            <td>{$shop_total2}</td>
                            <td>{$shop_total3}</td>
                            <td>{$shop_total4}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">兑换统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>活跃值兑换通兑宝</th>
                            <th>通兑宝兑换财富值</th>
                            <th>财富值转赠</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$active_money}</td>
                            <td>{$tdb_money}</td>
                            <td>{$wealth_money}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</section>
{/block}
